/**
 * Copyright (c) 2007,中企动力华南研发中心<br>
 * All rights reserved.
 */
package com.ce.pms.charge.dao;

import java.util.List;

import com.ce.pms.base.dao.IPmsBaseDao;
import com.ce.pms.charge.model.CharStaChoDomain;
import com.ce.pms.charge.vo.CharStaChoMeterVO;
import com.ce.pms.charge.vo.ChargeStaChoVO;
import com.sitechasia.webx.core.support.Page;

/**
 * 功能描述：<br>
 * @author 罗军林 创建日期：2008-8-7
 */
public interface ICharStoChoMeterDao extends IPmsBaseDao<CharStaChoDomain>{
	/**
	 * 方法描述: 根据表ID和房屋ID查询相应的房间标准选用记录
	 * @author 胡煦
	 * Create on:2008-10-8
	 * @param Long houseId,Long meterId
	 * @return List<CharStaChoDomain>
	 * Edit author:
	 * Edit on:
	 * 修改原因：
	 */
	public List<CharStaChoDomain> queryCharStaChoDoBy(Long houseId,Long meterId);
	/**
	 * 功能描述:查询满足条件的收费项目<br>
	 * @param condition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-7<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Page queryCharStoCho(ChargeStaChoVO condition);

	/**
	 * 功能描述:增加一个走表收费标准选用<br>
	 * @param charStaChoMeterVO<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void addCharStaChoMeter(CharStaChoMeterVO charStaChoMeterVO);

	/**
	 * 功能描述:当项目ID、水表ID、房号ID相同时，返回true<br>
	 * 注：修改时要排除oldCondition条件
	 * @param searchCondition
	 * @param oldCondition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-13<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Boolean checkExistCharStoChoMeter(CharStaChoMeterVO searchCondition,CharStaChoMeterVO oldCondition);

	/**
	 * 功能描述:查找指定房号ID和走表ID的标准选用<br>
	 * @param houseId
	 * @param meterId
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-10-9<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public List<CharStaChoDomain> queryCharStoCho(Long houseId,Long meterId);
}
